﻿using System;
using System.Collections.Generic;
using System.Text;
using FeCMS.Common.Enum;
using FeCMS.Data;

namespace FeCMS.UrlRoute
{
    /// <summary>
    ///     路由包接口
    /// </summary>
    internal interface IRoutePack
    {
        /// <summary>
        ///     控制器名
        /// </summary>
        string Controller { get; }
        /// <summary>
        ///     动作名
        /// </summary>
        string Action {  get; }
        /// <summary>
        ///     模板路径
        /// </summary>
        string TemplatePath { get; }
        /// <summary>
        ///     解析器的类型
        /// </summary>
        ControllerType ControllerType {  get; }
        /// <summary>
        ///     数据源
        /// </summary>
        TemplateDataSoure DataSoure { get; }
    }
}
